package com.cj.models;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "user_coinlog")
public class UserCoinLogModel {
    @TableId(value = "item_id",type = IdType.AUTO)
    private int itemId;

    @TableField(value = "from_user")
    private String fromUser;
    @TableField(value = "to_user")
    private String toUser;

    @TableField(value = "coin")
    private int coin;

    @TableField(value = "log_note")
    private String logNote;

    @TableField(value = "log_time")
    private Date logTime;
}
